FROM debian:bookworm
# 安装依赖
RUN apt update && \
 apt install -y \
 x11-xserver-utils \
 xdg-user-dirs \
 xdg-utils \
 xkb-data \
 zutty \
 xfonts-intl-chinese \
 xfonts-wqy \
 fonts-wqy-zenhei \
 libasound2
WORKDIR /root
COPY QQ*.deb /root/
RUN apt install -y /root/QQ*.deb
RUN export LC_ALL=zh_CN.UTF-8
# 设置环境变量以使用主机的 X11 显示器
ENV DISPLAY=:0
CMD ["qq", "--no-sandbox"]